import cv2

img = cv2.imread(r'C:/Users/21250/Desktop/fffff.png')
if img is None:
    print("无法读取图像文件")
else:
    cv2.imshow('Image', img)
    cv2.waitKey(0)
    cv2.destroyAllWindows()